<?php
declare (strict_types=1);

namespace app\exam\event\subscribes;

use app\exam\event\listeners\PaperTopicLinkCreated;
use app\exam\event\listeners\PaperTopicLinkDeleted;
use think\Event;

/**
 * Class QuestionTopic
 *
 * @package app\exam\event\subscribes
 */
class PaperTopicLink
{
    public function subscribe(Event $event)
    {
        // 添加引入
        $event->listen('PaperTopicLinkCreated', PaperTopicLinkCreated::class);
        // 取消引入
        $event->listen('PaperTopicLinkDelete', PaperTopicLinkDeleted::class);
    }
}